<table width="100%">
	<tr>
		<th>choose template</th>
		<th>active</th>
		<th></th>
	</tr>
	<tr>
		<form action="/admin" method="POST">
		<td>
			<select name="templateName">
			<?php foreach(View::$_["listTemplate"] as $entry){?>
				<option <?php if ($entry[1] == 1){?> selected <?php }?> >
					<?php echo $entry[0];?>
				</option>
			<?php }?>			
			</select>
		</td>	
		<td><input type="submit" value="active"/></td>
		</form>
	</tr>
</table>